package com.yanqu.road.server.manager.activity.xingyou;

import com.yanqu.road.entity.activity.youxing.CrossXingYouShanShuiTeamActionLogData;
import com.yanqu.road.pb.activity.XingYouShanShuiProto;
import com.yanqu.road.utils.property.Property;

import java.util.ArrayList;
import java.util.List;

public class ConfirmHandleResult {

    private int ret;

    private Property reward = new Property();

    private CrossXingYouActivity activity;

    private XingYouShanShuiProto.ShanShuiConfirmEventRsp.Builder builder;

    private List<CrossXingYouShanShuiTeamActionLogData> actionLogDataList = new ArrayList<>();

    //是否来自事件触发
    private boolean eventTouch;

    private List<Object> autoLogList = new ArrayList<>();

    //可能有移动
    private XingYouShanShuiProto.ShanShuiMoveInfo.Builder moveInfoBuilder;

    public int getRet() {
        return ret;
    }

    public void setRet(int ret) {
        this.ret = ret;
    }

    public Property getReward() {
        return reward;
    }

    public void setReward(Property reward) {
        this.reward = reward;
    }

    public CrossXingYouActivity getActivity() {
        return activity;
    }

    public void setActivity(CrossXingYouActivity activity) {
        this.activity = activity;
    }

    public XingYouShanShuiProto.ShanShuiConfirmEventRsp.Builder getBuilder() {
        return builder;
    }

    public void setBuilder(XingYouShanShuiProto.ShanShuiConfirmEventRsp.Builder builder) {
        this.builder = builder;
    }

    public List<CrossXingYouShanShuiTeamActionLogData> getActionLogDataList() {
        return actionLogDataList;
    }

    public void setActionLogDataList(List<CrossXingYouShanShuiTeamActionLogData> actionLogDataList) {
        this.actionLogDataList = actionLogDataList;
    }

    public boolean isEventTouch() {
        return eventTouch;
    }

    public void setEventTouch(boolean eventTouch) {
        this.eventTouch = eventTouch;
    }

    public List<Object> getAutoLogList() {
        return autoLogList;
    }

    public void setAutoLogList(List<Object> autoLogList) {
        this.autoLogList = autoLogList;
    }

    public void addLog(Object log){
        this.autoLogList.add(log);
    }

    public XingYouShanShuiProto.ShanShuiMoveInfo.Builder getMoveInfoBuilder() {
        return moveInfoBuilder;
    }

    public void setMoveInfoBuilder(XingYouShanShuiProto.ShanShuiMoveInfo.Builder moveInfoBuilder) {
        this.moveInfoBuilder = moveInfoBuilder;
    }
}
